package elevatorsimulator;

import GUI.MainGUI;

/**
 * Creates the entire project environment
 */
public class WorldBuilder {
    public Building b;
    public Elevator e;
    public ElevatorDoor ed;
    public ElevatorDirectionLight edl;
    public FloorElevatorDirectionLight fedl;
    public Floor f;

    /**
     * World Builder constructor
     * param b passing in Building
     * param e passing in Elevator
     * param ed passing in Elevator Door
     * param edl passing in elevator door directional light
     * param fedl passing in floor elevator directional light
     * param f passing in floor
     */
    public WorldBuilder(Building b, Elevator e, ElevatorDoor ed, ElevatorDirectionLight edl, FloorElevatorDirectionLight fedl, Floor f) {
        this.b = b;
        this.e = e;
        this.ed = ed;
        this.edl = edl;
        this.fedl = fedl;
        this.f = f;

    }

    /**
     * Begins execution of the GUI
     */
    public void run() {

        new MainGUI().displayGUI();
    }
}
